package com.ep.thirdPlatformProject.dhg.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ep.thirdPlatformProject.dhg.entity.DhgDepartmentEntity;
import com.ep.thirdPlatformProject.dhg.entity.vo.DhgDepartmentVO;

public interface DhgDepartmentService extends IService<DhgDepartmentEntity> {

    /**
     * 按编码获取部门树VO
     *
     * @param code 代码
     * @return {@link DhgDepartmentVO }
     */
    DhgDepartmentVO getDepartmentTreeByCode(String code);

}
